//
//  OSStatusCheck.h
//  AudioUnitDemo
//
//  Created by ilongge on 2021/9/2.
//

#import <Foundation/Foundation.h>

#define CheckStatus(status, message, exit) [OSStatusCheck CheckOSStatus:status andMessage:message andExit:exit]

@interface OSStatusCheck : NSObject
/**
 检查状态码
 */
+ (void)CheckOSStatus:(OSStatus)status
           andMessage:(NSString *)message
              andExit:(BOOL)exit;
@end


